<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>角色管理</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="resources/jquery-easyui-1.5.3/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="resources/jquery-easyui-1.5.3/themes/icon.css">
		<script type="text/javascript" src="resources/jquery-easyui-1.5.3/jquery.min.js"></script>
		<script type="text/javascript" src="resources/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>

	</head>
	<body>

		<table id="manager"></table>

		<div id="manager_tool" style="padding:5px;">
			<div style="margin-bottom:5px;">
				<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="manager_tool.add();">添加角色</a>
				<a href="#" class="easyui-linkbutton" iconCls="icon-wrench" plain="true" onclick="manager_tool.edit();">修改角色</a>
				<a href="#" class="easyui-linkbutton" iconCls="icon-delete" plain="true" onclick="manager_tool.remove();">删除角色</a>
			</div>
		</div>


		<form id="manager_add" style="margin:0;padding:5px 0 0 25px;color:#333;">
			<p>角色名称:<input type="text" name="role" class="textbox" style="width:200px;"></p>
			<p>角色状态:<select name="status" id="status" style='width:205px;' class="textbox easyui-combobox" required="true" validType="selectValueRequired['#status']">
							<option value="">请选择</option>
							<option value="1">开启</option>
							<option value="0">关闭</option>		
						</select>
			</p>
			<p>分配权限:<input id="auth" class="textbox" name="auth" style="width:205px;"></p>
		</form>


		<form id="manager_edit" style="margin:0;padding:5px 0 0 25px;color:#333;">
			<input type="hidden" name="id" class="textbox" style="width:200px;">
			<p>角色名称:<input type="text" name="role_edit" class="textbox" style="width:200px;"></p>
			<p>角色状态:<select name="status_edit" id="status_edit" style='width:205px;' class="textbox easyui-combobox" required="true" validType="selectValueRequired['#status_edit']">
							<option value="">请选择</option>
							<option value="1">开启</option>
							<option value="0">关闭</option>		
						</select>
			</p>
			<p>分配权限:<input id="auth_edit" class="textbox" name="auth_edit" style="width:205px;"></p>
		</form>



		<script type="text/javascript" src="js/juese.js"></script>
	</body>
</html>
